Web Playground

MLBB Endpoint

Interactive request form for this API endpoint.

Each card below maps directly to an API endpoint. Query, path, and request body fields are generated from OpenAPI.

GET Hero Counters

/web/mlbb/heroes/{hero_identifier}/counters

Open Only This

Get information about heroes that counter a specific hero by ID or name. Supports query parameters for rank tier, pagination, and localization.

Path parameters:

  • hero_identifier: Hero identifier as numeric hero ID or hero name. Accepts values like 30, Yi Sun-shin, or yisunshin.

Query parameters:

  • days: Time window for counter data. Allowed values: 1, 3, 7, 15, 30.
  • rank: Rank filter. Allowed values: all, epic, legend, mythic, honor, glory.
  • size: Number of items per page (minimum: 1).
  • index: Page index (starting from 1).
  • lang: Language code for localized content (default: en).

The response includes hero counter data:

  • records: Array of hero entries, each containing:
      • _id: Unique record identifier.
      • _createdAt: Creation timestamp.
      • _updatedAt: Last update timestamp.
      • data:
          • main_hero:
              • data:
                  • head: Main hero portrait image URL.
                  • name: Main hero name.
          • main_heroid: Main hero ID.
          • main_hero_channel:
              • id: Channel ID reference.
          • main_hero_appearance_rate: Pick rate of the main hero.
          • main_hero_ban_rate: Ban rate of the main hero.
          • main_hero_win_rate: Win rate of the main hero.
          • sub_hero: Array of counter heroes, each containing:
              • heroid: Counter hero ID.
              • hero_win_rate: Counter hero win rate.
              • hero_appearance_rate: Counter hero pick rate.
              • increase_win_rate: Impact of counter hero on win rate.
              • hero_channel:
                  • id: Channel ID reference.
              • hero:
                  • data:
                      • head: Counter hero portrait image URL.
              • min_win_rate6 through min_win_rate20: Win rate breakdown across match durations.
          • sub_hero_last: Array of negative synergy heroes, each containing:
              • heroid: Sub-hero ID.
              • hero_win_rate: Sub-hero win rate.
              • hero_appearance_rate: Sub-hero pick rate.
              • increase_win_rate: Negative impact on win rate.
              • min_win_rate6 through min_win_rate20: Win rate breakdown across match durations.

This endpoint is useful for:

  • Identifying which heroes are effective counters.
  • Analyzing matchup dynamics.
  • Understanding performance trends across different ranks and match durations.
hero_identifier path

Hero identifier as numeric hero ID or hero name. Accepts values like 30, Yi Sun-shin, or yisunshin. Required.

days query

Past day window for rank statistics.

rank query

Rank filter for hero statistics.

size query

Number of items per page. Minimum: 1.

index query

Page index for pagination. Minimum: 1.

lang query

Language code for localized content.

GET /api/heroes/{hero_identifier}/counters